/**
 * Iniciação Científica - SAE-CNPQ - 2013/2013
 * autor: Agnaldo A Esmael
 * Orientadores: Prof. Dr Ricardo Torres e Dr. Jefersson A Santos
 */
package view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import control.EventosGUI;

/**
 * @author agnaldo
 *
 */
public class GuiGeneral extends JFrame implements ActionListener {

	//atributos da classe
	private JDesktopPane theDesktop;
	EventosGUI trataEventos;
	
	//construtor da classe
	public GuiGeneral(EventosGUI tEvt, String titulo) {
		
		super(titulo);
		trataEventos = tEvt;
		
		// **** objeto para receber Janelas Internas ****
		theDesktop = new JDesktopPane();
		add(theDesktop);
		
		setSize(700,500);
		setExtendedState(MAXIMIZED_BOTH);
			
	}//fim do construtor da classe

	@Override
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		
	}

	public JDesktopPane getJDesktopPane() {
		return theDesktop;
	}

	public void setJDesktopPane(JDesktopPane theDesktop) {
		this.theDesktop = theDesktop;
	}



}//fim da classe GuiGeneral
